import React from 'react'
import './index.css'
import { withRouter } from 'react-router-dom'
function index(props) {
    const { title } = props
    return (
        <div className='top2'>
            <span className='iconfont icon' onClick={() => props.history.push('/Layout/home')}>&#xe65a;</span>
            <span>{title}</span>
            <span></span>
        </div>
    )
}
export default withRouter(index)
